package com.rbac.web.db;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * @author gengaoliu
 */
@Repository
@Mapper
public interface UserDAO extends BaseMapper<UserDO> {

  @Select("select * from user where id = #{id}")
  List<UserDO> selectAllById(Integer id);
}
